<h1>Products</h1>

<?php
		echo CHtml::activeDropDownList($model,'ut_press_id', array_merge(array(0=>'Не выбрано'),CActiveRecord::model('Press')->listData()),
		array('onchange'=>"$.fn.yiiListView.update('presscalcrow-list', {data: {'PressCalcrow':{'ut_press_id':$(this).val()}}});"));		
?>

<?php $this->widget('zii.widgets.CListView', array(
	'id'=>'presscalcrow-list',
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
